(function(){var $gwt_version = "2.0.0";var $wnd = window;var $doc = $wnd.document;var $moduleName, $moduleBase;var $strongName = '652F245AAB2212F0158E250F1FA8E4A7';var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null;var $sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;$stats && $stats({moduleName:'simplegadget',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalStart'});function s(){}
function N(){}
function M(){}
function L(){}
function K(){}
function Jm(){}
function pb(){}
function Db(){}
function Pb(){}
function Tb(){}
function ec(){}
function nc(){}
function mc(){}
function Dc(){}
function Ic(){}
function Hc(){}
function gd(){}
function fd(){}
function ed(){}
function wd(){}
function vd(){}
function Td(){}
function ae(){}
function je(){}
function me(){}
function we(){}
function Ae(){}
function Ke(){}
function Pf(){}
function kg(){}
function qg(){}
function Qg(){}
function $g(){}
function _g(){}
function bh(){}
function ch(){}
function Pg(){}
function gh(){}
function hh(){}
function Og(){}
function Ng(){}
function Mg(){}
function rh(){}
function xh(){}
function Ah(){}
function Gh(){}
function Fh(){}
function Eh(){}
function Vh(){}
function Xh(){}
function $h(){}
function ii(){}
function li(){}
function ni(){}
function ui(){}
function Ei(){}
function Li(){}
function Ri(){}
function Yi(){}
function bj(){}
function fj(){}
function ij(){}
function nj(){}
function qj(){}
function vj(){}
function yj(){}
function Wj(){}
function Zj(){}
function ek(){}
function dk(){}
function Ck(){}
function Bk(){}
function Ok(){}
function Wk(){}
function Vk(){}
function dl(){}
function kl(){}
function tl(){}
function Bl(){}
function Il(){}
function Nl(){}
function am(){}
function em(){}
function tm(){}
function Bm(){}
function zh(a){Vg(a)}
function Ch(a){Wg(a)}
function uc(){return 2}
function Cc(){return 3}
function fe(){return be}
function pg(){return lg}
function lc(a){return []}
function Jc(){Jc=Jm;Ec()}
function Lc(){Lc=Jm;Jc()}
function Jh(){Jh=Jm;Ih()}
function Lh(){Lh=Jm;Jh()}
function oi(){oi=Jm;ci()}
function Si(){Si=Jm;Oi()}
function Zi(){Zi=Jm;Si()}
function ki(a){a.c&&Wg(a)}
function kc(a){return cc(a)}
function al(){return null}
function Lb(a){return a.h()}
function Ad(){return this.d}
function de(a){gf(a,6);fi()}
function gl(){return this.b}
function Yl(){return this.c}
function xm(){return this.b}
function ym(){return this.c}
function od(){return qd(),pd}
function zc(){return wc(this)}
function dj(a){hc();return a}
function kj(a){hc();return a}
function sj(a){hc();return a}
function xj(a){hc();return a}
function Nj(){return Uj(this)}
function Dm(a){hc();return a}
function oh(a,b){kh(a,b,a.g)}
function xi(a,b){zi(a,b,a.c)}
function R(a,b){hc();return a}
function Yf(a,b){yg();Ig(a,b)}
function og(a){tf(a);null.G()}
function Vd(a){a.b={};return a}
function Qi(a,b){a.tabIndex=b}
function pj(a,b){hc();return a}
function tj(a,b){hc();return a}
function Yj(a,b){hc();return a}
function Rb(a,b){a.b=b;return a}
function Vb(a,b){a.b=b;return a}
function Hi(a,b){a.c=b;return a}
function Ki(){return Ii(this)}
function Nk(){return this.b.e}
function bl(){return this.b.c}
function Al(){return yl(this)}
function om(){return this.b.e}
function cm(a){mk(a);return a}
function Tk(){return xl(this.b)}
function Hl(){return this.c.b.e}
function xl(a){return a.b<a.c.c}
function tc(a){return rc(this,a)}
function Aj(a,b,c,d,e){return a}
function Hk(a,b){a.b=b;return a}
function _k(a,b){a.b=b;return a}
function wl(a,b){a.c=b;return a}
function Kl(a,b){a.b=b;return a}
function Bc(a){return xc(this,a)}
function Ec(){Ec=Jm;Lc();new Hc}
function Sj(){Sj=Jm;Pj={};Rj={}}
function Fb(){Fb=Jm;Eb=Hb(new Db)}
function mg(){mg=Jm;lg=zd(new wd)}
function td(a){sd(this,gf(a,4))}
function zd(a){a.d=++xd;return a}
function Lk(a){return Ik(this,a)}
function Ll(){return xl(this.b.b)}
function eh(){wh(this,(uh(),sh))}
function fh(){wh(this,(uh(),th))}
function Ug(a,b){!!a.e&&ue(a.e,b)}
function dg(a,b){return re(gg(),a,b)}
function ak(a){throw Yj(new Wj,Do)}
function cl(a){return vk(this.b,a)}
function Fl(a){return nk(this.b,a)}
function mm(a){return nk(this.b,a)}
function ff(a,b){return a&&cf[a][b]}
function sk(b,a){return Ln+a in b.f}
function Di(){return Hi(new Ei,this)}
function zl(){return this.b<this.c.c}
function mh(){return Hi(new Ei,this.b)}
function ef(a,b){return a&&!!cf[a][b]}
function Ji(){return this.b<this.c.c-1}
function Mk(){return Qk(new Ok,this.b)}
function Uk(){return gf(yl(this.b),19)}
function Xl(a){return Ul(this,a,0)!=-1}
function il(a,b){return fl(new dl,b,a)}
function yg(){if(!ug){Hg();ug=true}}
function hg(){if(!_f){Lg();_f=true}}
function sd(a){gf(a.e,3);$wnd.alert(Qn)}
function ol(a,b){(a<0||a>=b)&&rl(a,b)}
function Tl(a,b){ol(b,a.c);return a.b[b]}
function jl(a){return wk(this.c,this.b,a)}
function De(a){a.b=cm(new am);return a}
function gm(a){a.b=cm(new am);return a}
function hl(){return this.c.f[Ln+this.b]}
function Dl(a,b,c){a.b=b;a.c=c;return a}
function fl(a,b,c){a.c=c;a.b=b;return a}
function vm(a,b,c){a.b=b;a.c=c;return a}
function kf(a,b){return a!=null&&ef(a.tI,b)}
function Xi(a,b){a.firstChild.tabIndex=b}
function rl(a,b){throw tj(new qj,Eo+a+Fo+b)}
function uh(){uh=Jm;sh=new xh;th=new Ah}
function Ih(){Ih=Jm;Hh=(Oi(),Oi(),Ni)}
function $i(a){Zi();Vi();Wi();_i();return a}
function wi(a){a.b=Se(vf,0,3,4,0);return a}
function Ql(a){a.b=Se(wf,0,0,0,0);return a}
function sl(){return wl(new tl,gf(this,8))}
function x(){return this.$H||(this.$H=++ub)}
function w(a){return this===(a==null?null:a)}
function ic(){try{null.a()}catch(a){return a}}
function sc(){return dc(this.k(ic()),this.l())}
function nl(a){Sl(this,this.A(),a);return true}
function pi(a){oi();di(a,$doc.body);return a}
function U(a,b){hc();a.b=b;gc(new mc,a);return a}
function Rl(a,b){Ve(a.b,a.c++,b);return true}
function Kb(a){return a.b.length>0||a.f.length>0}
function lf(a){return a!=null&&a.tM!=Jm&&a.tI!=2}
function ee(a){var b;if(be){b=new ae;ue(a,b)}}
function Ib(a){var b;b=a.c;a.c=[];Nb(b,a.c)}
function Am(a){var b;b=this.c;this.c=a;return b}
function gg(){!ag&&(ag=sg(new qg));return ag}
function ye(a,b,c,d){a.b=b;a.d=c;a.c=d;return a}
function se(a,b){!a.b&&(a.b=Ql(new Nl));Rl(a.b,b)}
function Kh(a,b){Jh();a.g=b;Hh.x(a.g,0);return a}
function hm(a,b){var c;c=tk(a.b,b,a);return c==null}
function ph(a,b){var c;c=lh(a,b);c&&qh(b.g);return c}
function bk(a){var b;b=_j(this.t(),a);return !!b}
function cg(a){hg();return dg(be?be:(be=zd(new wd)),a)}
function Wl(a){return Ve(this.b,this.c++,a),true}
function Wb(){this.b.d&&Ob(this.b.e,1);return this.b.g}
function Ze(){Ze=Jm;Xe=[];Ye=[];$e(new Ke,Xe,Ye)}
function qd(){qd=Jm;pd=Cd(new vd,Pn,(qd(),new ed))}
function Oi(){Oi=Jm;Mi=$i(new Yi);Ni=Mi?(Oi(),new Li):Mi}
function tf(a){if(a!=null){throw kj(new ij)}return a}
function Vj(){if(Qj==256){Pj=Rj;Rj={};Qj=0}++Qj}
function mk(a){a.b=[];a.f={};a.d=false;a.c=null;a.e=0}
function Jb(a){var b;b=a.b;a.b=[];Nb(b,a.f);a.f=Mb(a.f)}
function gk(a){var b;b=Hk(new Bk,a);return Dl(new Bl,a,b)}
function Ml(){var a;a=gf(yl(this.b.b),19);return a.D()}
function lm(a){var b;return b=tk(this.b,a,this),b==null}
function xb(a){return function(){return yb(a,this,arguments)}}
function pe(a,b){a.e=De(new Ae);a.f=b;a.d=false;return a}
function dc(a,b){a.length>=b&&a.splice(0,b);return a}
function di(a,b){ci();a.b=wi(new ui);a.g=b;Vg(a);return a}
function sg(a){a.e=De(new Ae);a.f=null;a.d=false;return a}
function qh(a){a.style[to]=Fn;a.style[uo]=Fn;a.style[vo]=Fn}
function db(a){return a.tM==Jm||a.tI==2?a.hC():a.$H||(a.$H=++ub)}
function xk(a,b){return !b?zk(a):yk(a,b,~~(b.$H||(b.$H=++ub)))}
function fi(){ci();try{wh(bi,_h)}finally{mk(bi.b);mk(ai)}}
function ei(a){ci();try{Wg(a)}finally{xk(bi.b,a)!=null}}
function kh(a,b,c){Xg(b);xi(a.b,b);c.appendChild(b.g);Yg(b,a)}
function Sl(a,b,c){(b<0||b>a.c)&&rl(b,a.c);a.b.splice(b,0,c);++a.c}
function vk(a,b){var c;c=a.c;a.c=b;if(!a.d){a.d=true;++a.e}return c}
function Ci(a,b){var c;c=yi(a,b);if(c==-1){throw Dm(new Bm)}Bi(a,c)}
function yl(a){if(a.b>=a.c.c){throw Dm(new Bm)}return Tl(a.c,a.b++)}
function Ii(a){if(a.b>=a.c.c){throw Dm(new Bm)}return a.c.b[++a.b]}
function Gl(){var a;return a=Qk(new Ok,this.c.b),Kl(new Il,a)}
function nm(){var a;return a=Qk(new Ok,gk(this.b).c.b),Kl(new Il,a)}
function Ff(a){if(a!=null&&ef(a.tI,14)){return a}return U(new K,a)}
function gf(a,b){if(a!=null&&!ff(a.tI,b)){throw kj(new ij)}return a}
function hf(a){if(a!=null&&(a.tM==Jm||a.tI==2)){throw kj(new ij)}return a}
function zk(a){var b;b=a.c;a.c=null;if(a.d){a.d=false;--a.e}return b}
function Zg(a,b){a.d==-1?Yf(a.g,b|(a.g.__eventBits||0)):(a.d|=b)}
function re(a,b,c){a.c>0?se(a,ye(new we,a,b,c)):Ee(a.e,b,c);return new je}
function Tg(a,b,c){Zg(a,wg(c.c));return re(!a.e?(a.e=pe(new me,a)):a.e,c,b)}
function Qe(a,b){var c,d;c=a;d=Re(0,b);Te(c.aC,c.tI,c.qI,d);return d}
function yi(a,b){var c;for(c=0;c<a.c;++c){if(a.b[c]==b){return c}}return -1}
function af(a,b,c){Ze();for(var d=0,e=b.length;d<e;++d){a[b[d]]=c[d]}}
function Te(a,b,c,d){Ze();af(d,Xe,Ye);d.aC=a;d.tI=b;d.qI=c;return d}
function $e(a,b,c){var d=0,e;for(var f in a){if(e=a[f]){b[d]=f;c[d]=e;++d}}}
function Ul(a,b,c){for(;c<a.c;++c){if(Im(b,a.b[c])){return c}}return -1}
function Kj(a){if(!(a!=null&&ef(a.tI,1))){return false}return String(this)==a}
function Ag(a){return !(a!=null&&a.tM!=Jm&&a.tI!=2)&&a!=null&&ef(a.tI,10)}
function Ak(a,b){return (a==null?null:a)===(b==null?null:b)||a!=null&&bb(a,b)}
function dm(a,b){return (a==null?null:a)===(b==null?null:b)||a!=null&&bb(a,b)}
function Im(a,b){return (a==null?null:a)===(b==null?null:b)||a!=null&&bb(a,b)}
function bb(a,b){return a.tM==Jm||a.tI==2?a.eQ(b):(a==null?null:a)===(b==null?null:b)}
function wk(e,a,b){var c,d=e.f;a=Ln+a;a in d?(c=d[a]):++e.e;d[a]=b;return c}
function Se(a,b,c,d,e){var f;f=Re(e,d);Ze();af(f,Xe,Ye);f.aC=a;f.tI=b;f.qI=c;return f}
function Cd(a,b,c){a.d=++xd;a.b=c;!jd&&(jd=Vd(new Td));jd.b[b]=a;a.c=b;return a}
function ci(){ci=Jm;_h=new ii;ai=cm(new am);bi=gm(new em)}
function jg(){var a;if(_f){a=(mg(),new kg);!!ag&&ue(ag,a);return null}return null}
function Hb(a){Fb();a.e=Rb(new Pb,a);Vb(new Tb,a);a.b=[];a.f=[];a.c=[];return a}
function wc(a){var b;b=dc(xc(a,ic()),3);b.length==0&&(b=dc((new ec).i(),1));return b}
function Vf(a,b,c){var d;d=Sf;Sf=a;b==Tf&&wg((Ec(),a).type)==8192&&(Tf=null);c.o(a);Sf=d}
function Ee(a,b,c){var d;d=gf(ok(a.b,b),8);if(!d){d=Ql(new Nl);tk(a.b,b,d)}Ve(d.b,d.c++,c)}
function yb(a,b,c){var d;d=tb++==0;try{return a.apply(b,c)}finally{d&&Ib((Fb(),Eb));--tb}}
function tk(a,b,c){return b==null?vk(a,c):b!=null&&ef(b.tI,1)?wk(a,gf(b,1),c):uk(a,b,c,~~db(b))}
function nk(a,b){return b==null?a.d:b!=null&&ef(b.tI,1)?sk(a,gf(b,1)):rk(a,b,~~db(b))}
function ok(a,b){return b==null?a.c:b!=null&&ef(b.tI,1)?a.f[Ln+gf(b,1)]:pk(a,b,~~db(b))}
function Vi(){return function(a){this.parentNode.onblur&&this.parentNode.onblur(a)}}
function Wi(){return function(a){this.parentNode.onfocus&&this.parentNode.onfocus(a)}}
function _i(){return function(){var a=this.firstChild;$wnd.setTimeout(function(){a.focus()},0)}}
function Sb(){this.b.d=true;Jb(this.b);this.b.d=false;return this.b.g=Kb(this.b)}
function Oc(a,b){while(b){if(a==b){return true}b=b.parentNode;b&&b.nodeType!=1&&(b=null)}return false}
function _j(a,b){var c;while(a.v()){c=a.w();if(b==null?c==null:bb(b,c)){return a}}return null}
function xc(a,b){var c;c=rc(a,b);if(c.length==0){return (new ec).k(b)}else{return c.length>=1&&c.splice(0,1),c}}
function lk(e,a){var b=e.f;for(var c in b){if(c.charCodeAt(0)==58){var d=il(e,c.substring(1));a.y(d)}}}
function Fk(){var a,b,c;a=0;for(b=this.t();b.v();){c=b.w();if(c!=null){a+=db(c);a=~~a}}return a}
function Zk(){var a,b;a=0;b=0;this.D()!=null&&(a=db(this.D()));this.E()!=null&&(b=db(this.E()));return a^b}
function Xg(a){if(!a.f){ci();nk(bi.b,a)&&ei(a)}else if(a.f){ph(a.f,a)}else if(a.f){throw pj(new nj,ro)}}
function Wg(a){if(!a.c){throw pj(new nj,qo)}try{a.s()}finally{try{a.q()}finally{a.g.__listener=null;a.c=false}}}
function Vg(a){var b;if(a.c){throw pj(new nj,po)}a.c=true;a.g.__listener=a;b=a.d;a.d=-1;b>0&&Zg(a,b);a.p();a.r()}
function Bi(a,b){var c;if(b<0||b>=a.c){throw sj(new qj)}--a.c;for(c=b;c<a.c;++c){Ve(a.b,c,a.b[c+1])}Ve(a.b,a.c,null)}
function vh(a,b){uh();R(a,wo,b.b.e==0?null:gf(b.B(Se(yf,47,14,0,0)),17)[0]);return a}
function P(a){var b,c,d;c=Se(xf,0,13,a.length,0);for(d=0,b=a.length;d<b;++d){if(!a[d]){throw xj(new vj)}c[d]=a[d]}}
function rc(a,b){var c,d,e;e=b&&b.stack?b.stack.split(Mn):[];for(c=0,d=e.length;c<d;++c){e[c]=a.j(e[c])}return e}
function Re(a,b){var c=new Array(b);if(a>0){var d=[null,0,false,[0,0]][a];for(var e=0;e<b;++e){c[e]=d}}return c}
function kk(g,a){var b=g.b;for(var c in b){if(c==parseInt(c)){var d=b[c];for(var e=0,f=d.length;e<f;++e){a.y(d[e])}}}}
function Uj(a){Sj();var b=Ln+a;var c=Rj[b];if(c!=null){return c}c=Pj[b];c==null&&(c=Tj(a));Vj();return Rj[b]=c}
function gi(a){ci();var b;b=gf(ok(ai,a),18);if(b){return b}ai.e==0&&cg(new li);b=pi(new ni);tk(ai,a,b);hm(bi,b);return b}
function gwtOnLoad(b,c,d){$moduleName=c;$moduleBase=d;if(b)try{$entry(Cf)()}catch(a){b(c)}else{$entry(Cf)()}}
function Ob(b,c){Fb();$wnd.setTimeout(function(){var a=$entry(Lb)(b);a&&$wnd.setTimeout(arguments.callee,c)},c)}
function Ik(a,b){var c,d,e;if(b!=null&&ef(b.tI,19)){c=gf(b,19);d=c.D();if(nk(a.b,d)){e=ok(a.b,d);return dm(c.E(),e)}}return false}
function Yk(a){var b;if(a!=null&&ef(a.tI,19)){b=gf(a,19);if(Im(this.D(),b.D())&&Im(this.E(),b.E())){return true}}return false}
function ve(a){var b,c;if(a.b){try{for(c=wl(new tl,a.b);c.b<c.c.c;){b=gf(yl(c),7);Ee(b.b.e,b.d,b.c)}}finally{a.b=null}}}
function Yg(a,b){var c;c=a.f;if(!b){try{!!c&&c.c&&Wg(a)}finally{a.f=null}}else{if(c){throw pj(new nj,so)}a.f=b;b.c&&Vg(a)}}
function Qk(a,b){var c;a.c=b;c=Ql(new Nl);a.c.d&&Rl(c,_k(new Vk,a.c));lk(a.c,c);kk(a.c,c);a.b=wl(new tl,c);return a}
function hc(){var a,b,c,d;c=wc(new mc);d=Se(xf,0,13,c.length,0);for(a=0,b=d.length;a<b;++a){d[a]=Aj(new yj,Jn,c[a],Kn,0)}P(d)}
function ql(){var a,b,c;b=1;a=wl(new tl,gf(this,8));while(a.b<a.c.c){c=yl(a);b=31*b+(c==null?0:db(c));b=~~b}return b}
function ik(){var a,b,c;c=0;for(b=Qk(new Ok,Hk(new Bk,gf(this,20)).b);xl(b.b);){a=gf(yl(b.b),19);c+=a.hC();c=~~c}return c}
function gc(a,b){var c,d,e,f;e=xc(a,lf(b.b)?hf(b.b):null);f=Se(xf,0,13,e.length,0);for(c=0,d=f.length;c<d;++c){f[c]=Aj(new yj,Jn,e[c],Kn,0)}P(f)}
function nd(a,b,c){var d,e,f;if(jd){f=gf(jd.b[(Ec(),a).type],5);if(f){d=f.b.b;e=f.b.c;f.b.b=a;f.b.c=c;Ug(b,f.b);f.b.b=d;f.b.c=e}}}
function ue(a,b){var c;if(b.d){b.d=false;b.e=null}c=b.e;b.e=a.f;try{++a.c;Fe(a.e,b,a.d)}finally{--a.c;a.c==0&&ve(a)}if(c==null){b.d=true;b.e=null}else{b.e=c}}
function pk(h,a,b){var c=h.b[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.D();if(h.C(a,g)){return f.E()}}}return null}
function rk(h,a,b){var c=h.b[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.D();if(h.C(a,g)){return true}}}return false}
function yk(h,a,b){var c=h.b[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.D();if(h.C(a,g)){c.length==1?delete h.b[b]:c.splice(d,1);--h.e;return f.E()}}}return null}
function Nh(a,b){var c;Lh();Kh(a,(c=(Ec(),$doc).createElement(xo),c.setAttribute(yo,zo),c));a.g[Ao]=Bo;a.g.innerHTML=b||Fn;return a}
function ah(a){var b;switch(wg((Ec(),a).type)){case 16:case 32:b=a.relatedTarget;if(!!b&&Oc(this.g,b)){return}}nd(a,this,this.g)}
function ck(a){var b,c,d,e;e=this.A();a.length<e&&(a=Qe(a,e));d=a;c=this.t();for(b=0;b<e;++b){Ve(d,b,c.w())}a.length>e&&Ve(a,e,null);return a}
function cc(a){var b,c,d;d=Fn;a=Ij(a);b=a.indexOf(Gn);if(b!=-1){c=a.indexOf(Hn)==0?8:0;d=Ij(a.substr(c,b-c))}return d.length>0?d:In}
function Tj(a){var b,c,d,e;b=0;d=a.length;e=d-4;c=0;while(c<e){b=a.charCodeAt(c+3)+31*(a.charCodeAt(c+2)+31*(a.charCodeAt(c+1)+31*(a.charCodeAt(c)+31*b)))|0;c+=4}while(c<d){b=b*31+a.charCodeAt(c++)}return b|0}
function Ij(c){if(c.length==0||c[0]>Co&&c[c.length-1]>Co){return c}var a=c.replace(/^(\s*)/,Fn);var b=a.replace(/\s*$/,Fn);return b}
function Ek(a){var b,c,d;if((a==null?null:a)===this){return true}if(!(a!=null&&ef(a.tI,21))){return false}c=gf(a,21);if(c.A()!=this.A()){return false}for(b=c.t();b.v();){d=b.w();if(!this.z(d)){return false}}return true}
function wh(b,c){var i;uh();var a,e,f,g,h;e=null;for(h=b.t();h.v();){g=gf(h.w(),3);try{c.u(g)}catch(a){a=Ff(a);if(kf(a,14)){f=a;!e&&(e=gm(new em));i=tk(e.b,f,e)}else throw a}}if(e){throw vh(new rh,e)}}
function uk(j,a,b,c){var d=j.b[c];if(d){for(var e=0,f=d.length;e<f;++e){var g=d[e];var h=g.D();if(j.C(a,h)){var i=g.E();g.F(b);return i}}}else{d=j.b[c]=[]}var g=vm(new tm,a,b);d.push(g);++j.e;return null}
function zi(a,b,c){var d,e;if(c<0||c>a.c){throw sj(new qj)}if(a.c==a.b.length){e=Se(vf,0,3,a.b.length*2,0);for(d=0;d<a.b.length;++d){Ve(e,d,a.b[d])}a.b=e}++a.c;for(d=a.c-1;d>c;--d){Ve(a.b,d,a.b[d-1])}Ve(a.b,c,b)}
function Ve(a,b,c){if(c!=null){if(a.qI>0&&!ff(c.tI,a.qI)){throw dj(new bj)}if(a.qI<0&&(c.tM==Jm||c.tI==2)){throw dj(new bj)}}return a[b]=c}
function jc(){var a={};var b=[];var c=arguments.callee.caller.caller;while(c){var d=this.j(c.toString());b.push(d);var e=Ln+d;var f=a[e];if(f){var g,h;for(g=0,h=f.length;g<h;g++){if(f[g]===c){return b}}}(f||(a[e]=[])).push(c);c=c.caller}return b}
function Cf(){var a,b;!!$stats&&$stats({moduleName:$moduleName,sessionId:$sessionId,subSystem:Rn,evtGroup:Sn,millis:(new Date).getTime(),type:Tn,className:Un});a=Nh(new Eh,Vn);b=new Xh;Tg(a,b,(qd(),qd(),pd));oh((ci(),gi(null)),a)}
function Fe(a,b,c){var d,e,f,g,h,i,j;g=b.n();d=(h=gf(ok(a.b,g),8),!h?0:h.c);if(c){for(f=d-1;f>=0;--f){e=(i=gf(ok(a.b,g),8),gf((ol(f,i.c),i.b[f]),16));b.m(e)}}else{for(f=0;f<d;++f){e=(j=gf(ok(a.b,g),8),gf((ol(f,j.c),j.b[f]),16));b.m(e)}}}
function Mb(a){var b,c,d,e,f,g;b=false;d=a.length;f=(new Date).getTime();while((new Date).getTime()-f<100){for(c=0;c<d;++c){g=a[c];if(!g){continue}if(!g[0].h()){a[c]=null;b=true}}}if(b){e=[];for(c=0;c<d;++c){if(!a[c]){continue}e[e.length]=a[c]}return e}else{return a}}
function Nb(b,c){var a,e,f,g;for(e=0,f=b.length;e<f;++e){g=b[e];try{g[1]?g[0].h()&&(c[c.length]=g,undefined):g[0].G()}catch(a){a=Ff(a);if(!kf(a,2))throw a}}}
function Ac(a){var b,c;if(a.length==0){return In}c=Ij(a);c.indexOf(Nn)==0&&(c=c.substr(3,c.length-3));b=c.indexOf(On);b==-1&&(b=c.indexOf(Gn));if(b==-1){return In}else{c=Ij(c.substr(0,b-0))}b=c.indexOf(Mj(46));b!=-1&&(c=c.substr(b+1,c.length-(b+1)));return c.length>0?c:In}
function lh(a,b){var c,d;if(b.f!=a){return false}try{Yg(b,null)}finally{c=b.g;(d=(Ec(),c).parentNode,(!d||d.nodeType!=1)&&(d=null),d).removeChild(c);Ci(a.b,b)}return true}
function pl(a){var b,c,d,e,f;if((a==null?null:a)===this){return true}if(!(a!=null&&ef(a.tI,8))){return false}f=gf(a,8);if(this.A()!=f.c){return false}d=wl(new tl,gf(this,8));e=wl(new tl,f);while(d.b<d.c.c){b=yl(d);c=yl(e);if(!(b==null?c==null:bb(b,c))){return false}}return true}
function $l(a){var b,c,d;a.length<this.c&&(a=(c=a,d=Re(0,this.c),Te(c.aC,c.tI,c.qI,d),d));for(b=0;b<this.c;++b){Ve(a,b,this.b[b])}a.length>this.c&&Ve(a,this.c,null);return a}
function Lg(){var d=$wnd.onbeforeunload;var e=$wnd.onunload;$wnd.onbeforeunload=function(a){var b,c;try{b=$entry(jg)()}finally{c=d&&d(a)}if(b!=null){return b}if(c!=null){return c}};$wnd.onunload=$entry(function(a){try{_f&&ee(gg())}finally{e&&e(a);$wnd.onresize=null;$wnd.onscroll=null;$wnd.onbeforeunload=null;$wnd.onunload=null}})}
function Mj(a){var b,c;if(a>=65536){b=55296+(a-65536>>10&1023)&65535;c=56320+(a-65536&1023)&65535;return String.fromCharCode(b)+String.fromCharCode(c)}else{return String.fromCharCode(a&65535)}}
function wg(a){switch(a){case Wn:return 4096;case Xn:return 1024;case Pn:return 1;case Yn:return 2;case Zn:return 2048;case $n:return 128;case _n:return 256;case ao:return 512;case bo:return 32768;case co:return 8192;case eo:return 4;case fo:return 64;case go:return 32;case ho:return 16;case io:return 8;case jo:return 16384;case ko:return 65536;case lo:return 131072;case mo:return 131072;case no:return 262144;case oo:return 524288;}}
function hk(a){var b,c,d,e,f;if((a==null?null:a)===this){return true}if(!(a!=null&&ef(a.tI,20))){return false}e=gf(a,20);if(gf(this,20).e!=e.e){return false}for(c=Qk(new Ok,Hk(new Bk,e).b);xl(c.b);){b=gf(yl(c.b),19);d=b.D();f=b.E();if(!(d==null?gf(this,20).d:d!=null&&ef(d.tI,1)?sk(gf(this,20),gf(d,1)):rk(gf(this,20),d,~~db(d)))){return false}if(!Im(f,d==null?gf(this,20).c:d!=null&&ef(d.tI,1)?gf(this,20).f[Ln+gf(d,1)]:pk(gf(this,20),d,~~db(d)))){return false}}return true}
function Hg(){Eg=$entry(function(a){if(Dg(a)){var b=Cg;if(b&&b.__listener){if(Ag(b.__listener)){Vf(a,b,b.__listener);a.stopPropagation()}}}});Dg=$entry(function(a){return true});Fg=$entry(function(a){var b,c=this;while(c&&!(b=c.__listener)){c=c.parentNode}c&&c.nodeType!=1&&(c=null);b&&Ag(b)&&Vf(a,c,b)});$wnd.addEventListener(Pn,Eg,true);$wnd.addEventListener(Yn,Eg,true);$wnd.addEventListener(eo,Eg,true);$wnd.addEventListener(io,Eg,true);$wnd.addEventListener(fo,Eg,true);$wnd.addEventListener(ho,Eg,true);$wnd.addEventListener(go,Eg,true);$wnd.addEventListener(lo,Eg,true);$wnd.addEventListener($n,Dg,true);$wnd.addEventListener(ao,Dg,true);$wnd.addEventListener(_n,Dg,true)}
function Ig(a,b){var c=(a.__eventBits||0)^b;a.__eventBits=b;if(!c)return;c&1&&(a.onclick=b&1?Fg:null);c&2&&(a.ondblclick=b&2?Fg:null);c&4&&(a.onmousedown=b&4?Fg:null);c&8&&(a.onmouseup=b&8?Fg:null);c&16&&(a.onmouseover=b&16?Fg:null);c&32&&(a.onmouseout=b&32?Fg:null);c&64&&(a.onmousemove=b&64?Fg:null);c&128&&(a.onkeydown=b&128?Fg:null);c&256&&(a.onkeypress=b&256?Fg:null);c&512&&(a.onkeyup=b&512?Fg:null);c&1024&&(a.onchange=b&1024?Fg:null);c&2048&&(a.onfocus=b&2048?Fg:null);c&4096&&(a.onblur=b&4096?Fg:null);c&8192&&(a.onlosecapture=b&8192?Fg:null);c&16384&&(a.onscroll=b&16384?Fg:null);c&32768&&(a.onload=b&32768?Fg:null);c&65536&&(a.onerror=b&65536?Fg:null);c&131072&&(a.onmousewheel=b&131072?Fg:null);c&262144&&(a.oncontextmenu=b&262144?Fg:null);c&524288&&(a.onpaste=b&524288?Fg:null)}
var Fn='',Mn='\n',Co=' ',Gn='(',Fo=', Size: ',Ln=':',Do='Add not supported on this collection',xo='BUTTON',so='Cannot set a new parent without first clearing the old parent',mo='DOMMouseScroll',Qn='Hello World!',Eo='Index: ',wo='One or more exceptions caught, see full set in AttachDetachException#getCauses',po="Should only call onAttach when the widget is detached from the browser's document",qo="Should only call onDetach when the widget is attached to the browser's document",Vn='SimpleGadget',ro="This widget's parent does not implement HasWidgets",Jn='Unknown',Kn='Unknown source',On='[',In='anonymous',Nn='at ',Wn='blur',zo='button',Xn='change',Ao='className',Pn='click',Un='com.example.simplegadget.client.SimpleGadget',no='contextmenu',Yn='dblclick',ko='error',Zn='focus',Hn='function',Bo='gwt-Button',$n='keydown',_n='keypress',ao='keyup',to='left',bo='load',co='losecapture',Sn='moduleStartup',eo='mousedown',fo='mousemove',go='mouseout',ho='mouseover',io='mouseup',lo='mousewheel',Tn='onModuleLoadStart',oo='paste',vo='position',jo='scroll',Rn='startup',uo='top',yo='type';var _;_=s.prototype={};_.eQ=w;_.hC=x;_.tM=Jm;_.tI=1;_=N.prototype=new s;_.tI=3;_=M.prototype=new N;_.tI=4;_=L.prototype=new M;_.tI=5;_=K.prototype=new L;_.tI=6;_.b=null;_=pb.prototype=new s;_.tI=0;var tb=0,ub=0;_=Db.prototype=new pb;_.tI=0;_.d=false;_.g=false;var Eb;_=Pb.prototype=new s;_.h=Sb;_.tI=0;_.b=null;_=Tb.prototype=new s;_.h=Wb;_.tI=0;_.b=null;_=ec.prototype=new s;_.i=jc;_.j=kc;_.k=lc;_.tI=0;_=nc.prototype=new ec;_.i=sc;_.k=tc;_.l=uc;_.tI=0;_=mc.prototype=new nc;_.i=zc;_.j=Ac;_.k=Bc;_.l=Cc;_.tI=0;_=Dc.prototype=new s;_.tI=0;_=Ic.prototype=new Dc;_.tI=0;_=Hc.prototype=new Ic;_.tI=0;_=gd.prototype=new s;_.tI=0;_.d=false;_.e=null;_=fd.prototype=new gd;_.n=od;_.tI=0;_.b=null;_.c=null;var jd=null;_=ed.prototype=new fd;_.m=td;_.tI=0;var pd;_=wd.prototype=new s;_.hC=Ad;_.tI=0;_.d=0;var xd=0;_=vd.prototype=new wd;_.tI=7;_.b=null;_.c=null;_=Td.prototype=new s;_.tI=0;_.b=null;_=ae.prototype=new gd;_.m=de;_.n=fe;_.tI=0;var be=null;_=je.prototype=new s;_.tI=0;_=me.prototype=new s;_.tI=0;_.b=null;_.c=0;_.d=false;_.e=null;_.f=null;_=we.prototype=new s;_.tI=8;_.b=null;_.c=null;_.d=null;_=Ae.prototype=new s;_.tI=0;_=Ke.prototype=new s;_.tI=0;_.aC=null;_.length=0;_.qI=0;var Xe,Ye;var cf=[{},{},{1:1,12:1},{12:1,14:1},{12:1,14:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{5:1},{7:1},{16:1},{9:1},{11:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{2:1,12:1,14:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{16:1},{4:1,16:1},{3:1,9:1,10:1,11:1,18:1},{6:1,16:1},{3:1,9:1,10:1,11:1,18:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{12:1,14:1},{12:1,14:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{12:1,13:1},{2:1,12:1,14:1},{21:1},{21:1},{19:1},{19:1},{19:1},{21:1},{8:1,12:1},{12:1,20:1},{12:1,21:1},{19:1},{2:1,12:1,14:1},{15:1},{17:1}];_=Pf.prototype=new s;_.tI=9;var Sf=null,Tf=null;var _f=false,ag=null;_=kg.prototype=new gd;_.m=og;_.n=pg;_.tI=0;var lg;_=qg.prototype=new me;_.tI=10;var ug=false;var Cg=null,Dg=null,Eg=null,Fg=null;_=Qg.prototype=new s;_.tI=11;_.g=null;_=Pg.prototype=new Qg;_.p=$g;_.q=_g;_.o=ah;_.r=bh;_.s=ch;_.tI=12;_.c=false;_.d=0;_.e=null;_.f=null;_=Og.prototype=new Pg;_.p=eh;_.q=fh;_.r=gh;_.s=hh;_.tI=13;_=Ng.prototype=new Og;_.t=mh;_.tI=14;_=Mg.prototype=new Ng;_.tI=15;_=rh.prototype=new L;_.tI=16;var sh,th;_=xh.prototype=new s;_.u=zh;_.tI=0;_=Ah.prototype=new s;_.u=Ch;_.tI=0;_=Gh.prototype=new Pg;_.tI=17;var Hh;_=Fh.prototype=new Gh;_.tI=18;_=Eh.prototype=new Fh;_.tI=19;_=Vh.prototype=new Pf;_.tI=20;_=Xh.prototype=new Vh;_.tI=21;_=$h.prototype=new Mg;_.tI=22;var _h,ai,bi;_=ii.prototype=new s;_.u=ki;_.tI=0;_=li.prototype=new s;_.tI=23;_=ni.prototype=new $h;_.tI=24;_=ui.prototype=new s;_.t=Di;_.tI=0;_.b=null;_.c=0;_=Ei.prototype=new s;_.v=Ji;_.w=Ki;_.tI=0;_.b=-1;_.c=null;_=Li.prototype=new s;_.x=Qi;_.tI=0;var Mi,Ni;_=Ri.prototype=new Li;_.x=Xi;_.tI=0;_=Yi.prototype=new Ri;_.tI=0;_=bj.prototype=new L;_.tI=26;_=fj.prototype=new s;_.tI=0;_=ij.prototype=new L;_.tI=29;_=nj.prototype=new L;_.tI=30;_=qj.prototype=new L;_.tI=31;_=vj.prototype=new L;_.tI=32;_=yj.prototype=new s;_.tI=33;_=String.prototype;_.eQ=Kj;_.hC=Nj;_.tI=2;var Pj,Qj=0,Rj;_=Wj.prototype=new L;_.tI=34;_=Zj.prototype=new s;_.y=ak;_.z=bk;_.B=ck;_.tI=0;_=ek.prototype=new s;_.eQ=hk;_.hC=ik;_.tI=0;_=dk.prototype=new ek;_.C=Ak;_.tI=0;_.b=null;_.c=null;_.d=false;_.e=0;_.f=null;_=Ck.prototype=new Zj;_.eQ=Ek;_.hC=Fk;_.tI=35;_=Bk.prototype=new Ck;_.z=Lk;_.t=Mk;_.A=Nk;_.tI=36;_.b=null;_=Ok.prototype=new s;_.v=Tk;_.w=Uk;_.tI=0;_.b=null;_.c=null;_=Wk.prototype=new s;_.eQ=Yk;_.hC=Zk;_.tI=37;_=Vk.prototype=new Wk;_.D=al;_.E=bl;_.F=cl;_.tI=38;_.b=null;_=dl.prototype=new Wk;_.D=gl;_.E=hl;_.F=jl;_.tI=39;_.b=null;_.c=null;_=kl.prototype=new Zj;_.y=nl;_.eQ=pl;_.hC=ql;_.t=sl;_.tI=0;_=tl.prototype=new s;_.v=zl;_.w=Al;_.tI=0;_.b=0;_.c=null;_=Bl.prototype=new Ck;_.z=Fl;_.t=Gl;_.A=Hl;_.tI=40;_.b=null;_.c=null;_=Il.prototype=new s;_.v=Ll;_.w=Ml;_.tI=0;_.b=null;_=Nl.prototype=new kl;_.y=Wl;_.z=Xl;_.A=Yl;_.B=$l;_.tI=41;_.c=0;_=am.prototype=new dk;_.tI=42;_=em.prototype=new Ck;_.y=lm;_.z=mm;_.t=nm;_.A=om;_.tI=43;_.b=null;_=tm.prototype=new Wk;_.D=xm;_.E=ym;_.F=Am;_.tI=44;_.b=null;_.c=null;_=Bm.prototype=new L;_.tI=45;var $entry=xb;var xf=new fj,yf=new fj,vf=new fj,wf=new fj;$stats && $stats({moduleName:'simplegadget',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalEnd'});if (simplegadget) simplegadget.onScriptLoad(gwtOnLoad);})();